<%--
  Created by IntelliJ IDEA.
  User: zcw
  Date: 2018/3/29
  Time: 16:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/taglibs.jspf" %>
<!DOCTYPE html>
<html>
<head>
    <title><spring:message code="sys.user.title" /></title>
    <meta name="decorator" content="list"/>

    <link rel="stylesheet" href="${staticPath}/plugins/bootstrap-treeview/bootstrap-treeview.css">
    <script src="${staticPath}/plugins/bootstrap-treeview/bootstrap-treeview.js"></script>
</head>
<body title="<spring:message code="sys.user.title" />">
<div class="layui-fluid">
    <div class="layui-row">
        <div  class="layui--col-sm12">
            <grid:grid id="roleGridId" url="${appPath}/system/role/ajaxList">
                <div>
                    <form:hidden path="id" nested="false" />
                    <form:input path="nametest" nested="false" />
                </div>
                <grid:column label="sys.common.key" hidden="true"   name="id" width="100"/>
                <grid:column label="sys.common.opt"  name="opt" formatter="button" width="150"/>
                <grid:button title="sys.role.authMenu"  groupname="opt" function="updateObj" outclass="btn-info" winwidth="300px" innerclass="fa-plus" url="${appPath}/system/role/authMenu" />
                <grid:button groupname="opt" function="delete" />
                <grid:column label="sys.role.name"  name="name"  query="true"  />
                <grid:column label="sys.role.code"  name="code"  query="true"  />
                <grid:column label="sys.role.isSys"  name="isSys"  dict="whether" />
                <grid:column label="sys.role.usable"  name="usable"  dict="whether"/>

                <grid:toolbar function="create"/>
                <grid:toolbar   function="update"/>
                <grid:toolbar   function="delete"/>

                <grid:toolbar  function="search"/>
                <grid:toolbar  function="reset"  icon="icon-reload"/>
            </grid:grid>
        </div>
    </div>
</div>

</body>
</html>
